package sch.frog.creational.simplebuilder;

public class ObjectA {

    private final int a;

    private final int b;

    private final int c;

    private final boolean d;

    private final String e;

    private final long f;

    private final double g;

    public ObjectA(int a, int b, int c, boolean d, String e, long f, double g) {
        if(c == 0){
            throw new IllegalStateException("c can not be 0.");
        }
        this.a = a;
        this.b = b;
        this.c = c;
        this.d = d;
        this.e = e;
        this.f = f;
        this.g = g;
    }
}
